export function useDetail() {
  const router = useRouter()
  function navDetail(id: unknown, typeV: string) {
    router.push({
      path: `/document/detail/${id}/${typeV}`,
    })
  }

  return {
    navDetail,
  }
}
